package kr.or.javacafe.USCM.USCM200.service;

import java.util.List;

import kr.or.javacafe.USCM.USCM200.dao.USCM200DAO;
import kr.or.javacafe.USCM.USCM200.service.USCM200Service;
import kr.or.javacafe.common.exception.KmtcException;
import kr.or.javacafe.common.exception.KmtcRuntimeException;

public class USCM200ServiceImpl implements USCM200Service
{
	private USCM200DAO uscm200DAO;
	
	public void setUscm200DAO(USCM200DAO uscm200DAO){
		this.uscm200DAO = uscm200DAO;	
	}
	
	
	public List findMemberList() throws KmtcException
	{
		try
		{
			List objList = uscm200DAO.selectMemberList();
			
			return objList;
		}
		catch (RuntimeException ex)
		{
			throw new KmtcRuntimeException(ex);
		}
		catch (Exception ex)
		{
			throw new KmtcException(ex);
		}
	}
}
